﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DataAccess;

namespace Business
{
    public static class PositionBUS
    {
        public static List<PositionDTO> GetPositionList()
        {
            return PositionDAO.GetPositionList();
        }

        public static bool AddNewPosition(PositionDTO dtoPosition)
        {
            return PositionDAO.AddNewPosition(dtoPosition);
        }

        public static bool UpdatePosition(PositionDTO dtoPosition)
        {
            return PositionDAO.UpdatePosition(dtoPosition);
        }

        public static bool DeleteAPosition(PositionDTO dtoPosition)
        {
            return PositionDAO.DeleteAPosition(dtoPosition);
        }

        public static bool DeleteAllPosition()
        {
            return PositionDAO.DeleteAllPosition();
        }
    }
}
